
// import viewport from '@/layout/index.vue'
const routes = [
    {
        name: '默认',
        path: "/",
        redirect: "/earth",
    },
    {
        name: 'earth',
        path: "/earth",
        component: () => import(/* webpackChunkName: "earthui" */ '@/views/earthUi.vue'),
    },
    {
        title: '驾驶舱',
        name: 'dashboard',
        path: "/dashboard",
        component: () => import(/* webpackChunkName: "dashboard" */ '@/views/board.vue'),
    },
    { // 404页面：必须位于最后，否则其它的路由地址都会使用 NotFound 组件
        name: '404页面',
        path: '/:pathMatch(.*)',
        component: () => import(/* webpackChunkName: "rootNotFound" */ '@/pages/layout/404.vue'),
    }
]
export default routes